fix: Remove nodecomposite warning logs when using dawgs graph driver BED-8293#2798
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Replaced pg.NewPool with standard pgxpool.New in OpenDatabase() since the relational database doesn't need graph-specific type handling
Motivation and Context
Resolves BED-8293
Why is this change required? What problem does it solve?
BHCE API logs were flooded with
nodecomposite does not existandedgecomposite does not existerrors. Updated the connection pool type that checks for these graph types.How Has This Been Tested?
Existing tests run. Application runs as expected. Logs are no longer flooded with nodecomposite and edgecomposite errors
Screenshots (optional):
Types of changes
Checklist: